var app = getApp();

Page({
    data: {
        list: []
    },
    kindToggle: function(n) {
        var t = n.currentTarget.id, o = this.data.list;
        console.log(t);
        for (var e = 0, a = o.length; e < a; ++e) o[e].open = e == t && !o[e].open;
        this.setData({
            list: o
        });
    },
    onLoad: function(n) {
        var t = this;
        console.log(this), app.util.request({
            url: "entry/wxapp/GetHelp",
            cachetime: "0",
            success: function(n) {
                console.log(n.data), t.setData({
                    list: n.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});